package com.xfly.app.bean;

import java.io.Serializable;
import java.util.List;

public class CarBean {

    /**
     * total : 80
     * count : 2
     * goods : [{"id":36,"goods_id":2,"specs_id":16,"num":1,"price":"70.00","status":1,"create_time":1570514721,"goods_cover":"/public/uploads/20190820/f6291f35d30b82d9067e47a82d5fd0e3.png","goods_title":"测试商品二","specs_name":"规格二","stock":2,"sale":1},{"id":35,"goods_id":1,"specs_id":2,"num":1,"price":"10.00","status":1,"create_time":1570514715,"goods_cover":"/public/uploads/20190814/781f058c1caeba34860857163fa12803.jpg","goods_title":"测试商品一","specs_name":"测试规格2","stock":1000,"sale":6}]
     */

    private String total;
    private String count;
    private List<GoodsBean> goods;

    public String getTotal() {
        return total;
    }

    public void setTotal(String total) {
        this.total = total;
    }

    public String getCount() {
        return count;
    }

    public void setCount(String count) {
        this.count = count;
    }

    public List<GoodsBean> getGoods() {
        return goods;
    }

    public void setGoods(List<GoodsBean> goods) {
        this.goods = goods;
    }

    public static class GoodsBean implements Serializable {
        /**
         * id : 36
         * goods_id : 2
         * specs_id : 16
         * num : 1
         * price : 70.00
         * status : 1
         * create_time : 1570514721
         * goods_cover : /public/uploads/20190820/f6291f35d30b82d9067e47a82d5fd0e3.png
         * goods_title : 测试商品二
         * specs_name : 规格二
         * stock : 2
         * sale : 1
         */

        private int id;
        private int goods_id;
        private int specs_id;
        private int num;
        private String price;
        private int status;
        private int create_time;
        private String goods_cover;
        private String goods_title;
        private String specs_name;
        private int stock;
        private int sale;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getGoods_id() {
            return goods_id;
        }

        public void setGoods_id(int goods_id) {
            this.goods_id = goods_id;
        }

        public int getSpecs_id() {
            return specs_id;
        }

        public void setSpecs_id(int specs_id) {
            this.specs_id = specs_id;
        }

        public int getNum() {
            return num;
        }

        public void setNum(int num) {
            this.num = num;
        }

        public String getPrice() {
            return price;
        }

        public void setPrice(String price) {
            this.price = price;
        }

        public int getStatus() {
            return status;
        }

        public void setStatus(int status) {
            this.status = status;
        }

        public int getCreate_time() {
            return create_time;
        }

        public void setCreate_time(int create_time) {
            this.create_time = create_time;
        }

        public String getGoods_cover() {
            return goods_cover;
        }

        public void setGoods_cover(String goods_cover) {
            this.goods_cover = goods_cover;
        }

        public String getGoods_title() {
            return goods_title;
        }

        public void setGoods_title(String goods_title) {
            this.goods_title = goods_title;
        }

        public String getSpecs_name() {
            return specs_name;
        }

        public void setSpecs_name(String specs_name) {
            this.specs_name = specs_name;
        }

        public int getStock() {
            return stock;
        }

        public void setStock(int stock) {
            this.stock = stock;
        }

        public int getSale() {
            return sale;
        }

        public void setSale(int sale) {
            this.sale = sale;
        }
    }
}
